package com.ruoyi.web.controller.tool;

import org.springframework.security.crypto.bcrypt.BCryptPasswordEncoder;

public class CreatePwd {
    public static void main(String[] args)
    {
        //注意盐值是随机的，所以生成密码每次可能不一样
//        System.out.println(new BCryptPasswordEncoder().encode("ruoyi"));
        System.out.println(new BCryptPasswordEncoder().encode("Ymwtbbx_220311"));
    }
}
